<?php
if (session_status() == PHP_SESSION_NONE) {
    session_start();
}




//DB CONNECTION
define("DB_HOST", "localhost");
define("DB_NAME", "eportfolio");
define("DB_USER", "root");
define("DB_PASS", "Frankie001");
$con = mysqli_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME)or die
 ("Failed to connect to server: " . mysqli_connect_error());
return $con;
?>
